![]() |
PBHSetFInfoSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Sets information for a file.
OSErr PBHSetFInfoSync ( HParmBlkPtr paramBlock );
A pointer to a basic HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a pathname.
On input, a volume specification.
On input, information used by the Finder.
On input, a directory ID.
On input, the date and time of creation.
On input, the date and time of the last modification.
The PBHSetFInfoSync function sets information (including the date and time of creation and modification, and information needed by the Finder) about the file having the name pointed to by ioNamePtr on the volume specified by ioVRefNum. You should call PBHGetFInfoSync just before PBHSetFInfoSync, so that the current information is present in the parameter block.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)